package com.hfzy.ihk.facade.freeswitchManage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.hfzy.ihk.common.facade.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author wws
 * @since 2019-01-25
 */
@Data
@Accessors(chain = true)
public class Gatewayinfo implements BaseEntity {

    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableId("sipUser")
    private String sipUser;

    private String ip;

    private String port;

    private String type;

    private String remark;

    private Integer routeUsing;

    private Integer routeSum;

    private String contractStr;

    private String flag;

    /**
     * 所属公司
     */
    private String belongCompany;

    /**
     * 所属部门
     */
    private String belongUnit;

    @Override
    public Integer getId() {
        return this.id;
    }
}
